package cn.kgc.mapper;

import cn.kgc.entity.User;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/5/4
 *
 */
public interface UserMapper {

    //登录

    User selectOne(User user);

    //注册

    int addUser(User user);

    //查询所有
   List<User> selectAll();

}
